package ccgl.com.util.flashreport;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

/**
 * <p>Title: FusionCharts工具类</p>
 * <p>Description: FusionCharts的数据对象Graph的属性成员，该对象对应<dataset>标签。
 * 	该元素用于多系列图形被用来比较两个或更多的数据集。注意<categories>的子元素的数量应该和<dataset>子元素的一致。
 * </p>seriesName='2 006' color='c4e3f7'
 * <p>Copyright: Copyright (c) 2012</p>
 * <p>Company: 北京世纪坐标科技有限公司</p>
 * @author alex
 * @version 1.0
 */
@XStreamAlias("dataset")
public class Dataset{
	/** 系列名称  */
	@XStreamAsAttribute
	private String seriesName;
	/** 颜色  */
	@XStreamAsAttribute	
	private String color;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute
	private String numberPrefix;
	/**
	 *  在每个数据集里，我们都必须用parentYAxis 属性来指定它是属于哪个轴。这个属性的值只能是"P"或"S"。
	 *  P 代表主轴，S 代表次轴。例如：<dataset seriesName='2006' parentYAxis='P' ... >
	 *  <dataset seriesName='2005' parentYAxis='P' ... >
	 */
	@XStreamAsAttribute
	private String parentYAxis;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute
	private String anchorSides;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute	
	private String anchorRadius;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute	
	private String anchorBorderColor;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute		
	private String showValue;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute		
	private String lineThickness;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute		
	private String yaxismaxvalue;
	/** 暂时不清楚该属性含义，请查阅FusionCharts文档  */
	@XStreamAsAttribute		
	private String anchorAlpha;
	/** 数据集set元素  */
	@XStreamImplicit
	private List<Set> setList;

	/**
	 * @return the seriesName
	 */
	public String getSeriesName() {
		return seriesName;
	}

	/**
	 * @param seriesName the seriesName to set
	 */
	public void setSeriesName(String seriesName) {
		this.seriesName = seriesName;
	}

	/**
	 * @return the color
	 */
	public String getColor() {
		return color;
	}

	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}

	/**
	 * @return the setList
	 */
	public List<Set> getSetList() {
		return setList;
	}

	/**
	 * @param setList the setList to set
	 */
	public void setSetList(List<Set> setList) {
		this.setList = setList;
	}

	/**
	 * @return the numberPrefix
	 */
	public String getNumberPrefix() {
		return numberPrefix;
	}

	/**
	 * @param numberPrefix the numberPrefix to set
	 */
	public void setNumberPrefix(String numberPrefix) {
		this.numberPrefix = numberPrefix;
	}

	/**
	 * @return the parentYAxis
	 */
	public String getParentYAxis() {
		return parentYAxis;
	}

	/**
	 * @param parentYAxis the parentYAxis to set
	 */
	public void setParentYAxis(String parentYAxis) {
		this.parentYAxis = parentYAxis;
	}

	/**
	 * @return the anchorSides
	 */
	public String getAnchorSides() {
		return anchorSides;
	}

	/**
	 * @param anchorSides the anchorSides to set
	 */
	public void setAnchorSides(String anchorSides) {
		this.anchorSides = anchorSides;
	}

	/**
	 * @return the anchorRadius
	 */
	public String getAnchorRadius() {
		return anchorRadius;
	}

	/**
	 * @param anchorRadius the anchorRadius to set
	 */
	public void setAnchorRadius(String anchorRadius) {
		this.anchorRadius = anchorRadius;
	}

	/**
	 * @return the anchorBorderColor
	 */
	public String getAnchorBorderColor() {
		return anchorBorderColor;
	}

	/**
	 * @param anchorBorderColor the anchorBorderColor to set
	 */
	public void setAnchorBorderColor(String anchorBorderColor) {
		this.anchorBorderColor = anchorBorderColor;
	}

	/**
	 * @return the showValue
	 */
	public String getShowValue() {
		return showValue;
	}

	/**
	 * @param showValue the showValue to set
	 */
	public void setShowValue(String showValue) {
		this.showValue = showValue;
	}

	/**
	 * @return the lineThickness
	 */
	public String getLineThickness() {
		return lineThickness;
	}

	/**
	 * @param lineThickness the lineThickness to set
	 */
	public void setLineThickness(String lineThickness) {
		this.lineThickness = lineThickness;
	}

	/**
	 * @return the yaxismaxvalue
	 */
	public String getYaxismaxvalue() {
		return yaxismaxvalue;
	}

	/**
	 * @param yaxismaxvalue the yaxismaxvalue to set
	 */
	public void setYaxismaxvalue(String yaxismaxvalue) {
		this.yaxismaxvalue = yaxismaxvalue;
	}

	/**
	 * @return the anchorAlpha
	 */
	public String getAnchorAlpha() {
		return anchorAlpha;
	}

	/**
	 * @param anchorAlpha the anchorAlpha to set
	 */
	public void setAnchorAlpha(String anchorAlpha) {
		this.anchorAlpha = anchorAlpha;
	}
}